home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / vcf1.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  41.1 KB  |  816 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'vcf1.pas' rev: 3.00
  6.  
  7. #ifndef vcf1HPP
  8. #define vcf1HPP
  9. #include <Menus.hpp>
  10. #include <Controls.hpp>
  11. #include <StdVCL.hpp>
  12. #include <OleCtrls.hpp>
  13. #include <Graphics.hpp>
  14. #include <Classes.hpp>
  15. #include <ActiveX.hpp>
  16. #include <Windows.hpp>
  17. #include <SysInit.hpp>
  18. #include <System.hpp>
  19.  
  20. //-- user supplied -----------------------------------------------------------
  21.  
  22. namespace Vcf1
  23. {
  24. //-- type declarations -------------------------------------------------------
  25. __dispinterface _DVCF1;
  26. typedef System::DelphiInterface<_DVCF1> _di__DVCF1;
  27. __dispinterface _DVCF1: public IDispatch /* __guid="{042BADC6-5E58-11CE-B610-524153480001}" */
  28. {
  29.     
  30. };
  31. typedef _DVCF1 F1Book;
  32.  
  33. typedef Olectrls::TOleEnum F1ColWidthUnitsConstants;
  34.  
  35. typedef Olectrls::TOleEnum F1MousePointerConstants;
  36.  
  37. typedef Olectrls::TOleEnum F1ShowOffOnAutoConstants;
  38.  
  39. typedef Olectrls::TOleEnum F1ShowTabsConstants;
  40.  
  41. typedef Olectrls::TOleEnum F1ModeConstants;
  42.  
  43. typedef Olectrls::TOleEnum F1PolyEditModeConstants;
  44.  
  45. typedef Olectrls::TOleEnum F1ShiftTypeConstants;
  46.  
  47. typedef Olectrls::TOleEnum F1HAlignConstants;
  48.  
  49. typedef Olectrls::TOleEnum F1VAlignConstants;
  50.  
  51. typedef Olectrls::TOleEnum F1ClearTypeConstants;
  52.  
  53. typedef Olectrls::TOleEnum F1FileTypeConstants;
  54.  
  55. typedef Olectrls::TOleEnum F1ObjTypeConstants;
  56.  
  57. typedef Olectrls::TOleEnum F1ErrorConstants;
  58.  
  59. typedef Olectrls::TOleEnum F1ControlCellConstants;
  60.  
  61. __dispinterface _DVCF1Events;
  62. typedef System::DelphiInterface<_DVCF1Events> _di__DVCF1Events;
  63. __dispinterface _DVCF1Events: public IDispatch /* __guid="{042BADC7-5E58-11CE-B610-524153480001}" */
  64.     
  65. {
  66.     
  67. };
  68.  
  69. typedef void __fastcall (__closure *TF1BookClick)(System::TObject* Sender, int nRow, int nCol);
  70.  
  71. typedef void __fastcall (__closure *TF1BookDblClick)(System::TObject* Sender, int nRow, int nCol);
  72.  
  73. typedef void __fastcall (__closure *TF1BookStartEdit)(System::TObject* Sender, System::WideString &EditString
  74.     , short &Cancel);
  75.  
  76. typedef void __fastcall (__closure *TF1BookEndEdit)(System::TObject* Sender, System::WideString &EditString
  77.     , short &Cancel);
  78.  
  79. typedef void __fastcall (__closure *TF1BookObjClick)(System::TObject* Sender, System::WideString &ObjName
  80.     , int ObjID);
  81.  
  82. typedef void __fastcall (__closure *TF1BookObjDblClick)(System::TObject* Sender, System::WideString 
  83.     &ObjName, int ObjID);
  84.  
  85. typedef void __fastcall (__closure *TF1BookRClick)(System::TObject* Sender, int nRow, int nCol);
  86.  
  87. typedef void __fastcall (__closure *TF1BookRDblClick)(System::TObject* Sender, int nRow, int nCol);
  88.  
  89. typedef void __fastcall (__closure *TF1BookObjValueChanged)(System::TObject* Sender, System::WideString 
  90.     &ObjName, int ObjID);
  91.  
  92. typedef void __fastcall (__closure *TF1BookObjGotFocus)(System::TObject* Sender, System::WideString 
  93.     &ObjName, int ObjID);
  94.  
  95. typedef void __fastcall (__closure *TF1BookObjLostFocus)(System::TObject* Sender, System::WideString 
  96.     &ObjName, int ObjID);
  97.  
  98. typedef void __fastcall (__closure *TF1BookValidationFailed)(System::TObject* Sender, System::WideString 
  99.     &pEntry, int nSheet, int nRow, int nCol, System::WideString &pShowMessage, short &pAction);
  100.  
  101. class DELPHICLASS TF1Book;
  102. class PASCALIMPLEMENTATION TF1Book : public Olectrls::TOleControl 
  103. {
  104.     typedef Olectrls::TOleControl inherited;
  105.     
  106. private:
  107.     TF1BookClick FOnClick;
  108.     TF1BookDblClick FOnDblClick;
  109.     Classes::TNotifyEvent FOnCancelEdit;
  110.     Classes::TNotifyEvent FOnSelChange;
  111.     TF1BookStartEdit FOnStartEdit;
  112.     TF1BookEndEdit FOnEndEdit;
  113.     Classes::TNotifyEvent FOnStartRecalc;
  114.     Classes::TNotifyEvent FOnEndRecalc;
  115.     Classes::TNotifyEvent FOnTopLeftChanged;
  116.     TF1BookObjClick FOnObjClick;
  117.     TF1BookObjDblClick FOnObjDblClick;
  118.     TF1BookRClick FOnRClick;
  119.     TF1BookRDblClick FOnRDblClick;
  120.     TF1BookObjValueChanged FOnObjValueChanged;
  121.     Classes::TNotifyEvent FOnModified;
  122.     TF1BookObjGotFocus FOnObjGotFocus;
  123.     TF1BookObjLostFocus FOnObjLostFocus;
  124.     TF1BookValidationFailed FOnValidationFailed;
  125.     _di__DVCF1 FIntf;
  126.     int __fastcall Get_PrintDevMode(void);
  127.     void __fastcall Set_PrintDevMode(int &Value);
  128.     int __fastcall Get_hWnd(void);
  129.     void __fastcall Set_hWnd(int &Value);
  130.     System::WideString __fastcall Get_ColText(int nCol);
  131.     void __fastcall Set_ColText(int nCol, const System::WideString Value);
  132.     System::WideString __fastcall Get_DefinedName(const System::WideString pName);
  133.     void __fastcall Set_DefinedName(const System::WideString pName, const System::WideString Value);
  134.     System::WideString __fastcall Get_EntryRC(int nRow, int nCol);
  135.     void __fastcall Set_EntryRC(int nRow, int nCol, const System::WideString Value);
  136.     System::WideString __fastcall Get_FormattedTextRC(int nRow, int nCol);
  137.     void __fastcall Set_FormattedTextRC(int nRow, int nCol, const System::WideString Value);
  138.     System::WideString __fastcall Get_FormulaRC(int nRow, int nCol);
  139.     void __fastcall Set_FormulaRC(int nRow, int nCol, const System::WideString Value);
  140.     int __fastcall Get_LastColForRow(int nRow);
  141.     void __fastcall Set_LastColForRow(int nRow, int Value);
  142.     Word __fastcall Get_LogicalRC(int nRow, int nCol);
  143.     void __fastcall Set_LogicalRC(int nRow, int nCol, Word Value);
  144.     double __fastcall Get_NumberRC(int nRow, int nCol);
  145.     void __fastcall Set_NumberRC(int nRow, int nCol, double Value);
  146.     System::WideString __fastcall Get_RowText(int nRow);
  147.     void __fastcall Set_RowText(int nRow, const System::WideString Value);
  148.     System::WideString __fastcall Get_TextRC(int nRow, int nCol);
  149.     void __fastcall Set_TextRC(int nRow, int nCol, const System::WideString Value);
  150.     short __fastcall Get_TypeRC(int nRow, int nCol);
  151.     void __fastcall Set_TypeRC(int nRow, int nCol, short Value);
  152.     short __fastcall Get_ColWidth(int nCol);
  153.     void __fastcall Set_ColWidth(int nCol, short Value);
  154.     short __fastcall Get_RowHeight(int nRow);
  155.     void __fastcall Set_RowHeight(int nRow, short Value);
  156.     System::WideString __fastcall Get_DefinedNameByIndex(int nName);
  157.     void __fastcall Set_DefinedNameByIndex(int nName, const System::WideString Value);
  158.     System::WideString __fastcall Get_SheetName(int nSheet);
  159.     void __fastcall Set_SheetName(int nSheet, const System::WideString Value);
  160.     Graphics::TColor __fastcall Get_PaletteEntry(int nEntry);
  161.     void __fastcall Set_PaletteEntry(int nEntry, Graphics::TColor Value);
  162.     short __fastcall Get_ColWidthTwips(int Col);
  163.     void __fastcall Set_ColWidthTwips(int Col, short Value);
  164.     System::WideString __fastcall Get_ObjItem(int ID, short Item);
  165.     void __fastcall Set_ObjItem(int ID, short Item, const System::WideString Value);
  166.     System::WideString __fastcall Get_ObjItems(int ID);
  167.     void __fastcall Set_ObjItems(int ID, const System::WideString Value);
  168.     System::WideString __fastcall Get_ObjName(int ID);
  169.     void __fastcall Set_ObjName(int ID, const System::WideString Value);
  170.     System::WideString __fastcall Get_ObjText(int ID);
  171.     void __fastcall Set_ObjText(int ID, const System::WideString Value);
  172.     short __fastcall Get_ObjValue(int ID);
  173.     void __fastcall Set_ObjValue(int ID, short Value);
  174.     Word __fastcall Get_ObjVisible(int ID);
  175.     void __fastcall Set_ObjVisible(int ID, Word Value);
  176.     System::WideString __fastcall Get_AutoFillItems(short Index);
  177.     void __fastcall Set_AutoFillItems(short Index, const System::WideString Value);
  178.     Word __fastcall Get_ColHidden(int nCol);
  179.     void __fastcall Set_ColHidden(int nCol, Word Value);
  180.     Word __fastcall Get_RowHidden(int nRow);
  181.     void __fastcall Set_RowHidden(int nRow, Word Value);
  182.     Word __fastcall Get_SheetSelected(int nSheet);
  183.     void __fastcall Set_SheetSelected(int nSheet, Word Value);
  184.     
  185. protected:
  186.     virtual void __fastcall InitControlData(void);
  187.     virtual void __fastcall InitControlInterface(const _di_IUnknown Obj);
  188.     
  189. public:
  190.     void __fastcall EditPasteValues(void);
  191.     void __fastcall GetAlignment(short &pHorizontal, Word &pWordWrap, short &pVertical, short &pOrientation
  192.         );
  193.     HIDESBASE void __fastcall GetBorder(short &pLeft, short &pRight, short &pTop, short &pBottom, short 
  194.         &pShade, Graphics::TColor &pcrLeft, Graphics::TColor &pcrRight, Graphics::TColor &pcrTop, Graphics::TColor 
  195.         &pcrBottom);
  196.     void __fastcall GetFont(System::WideString &pName, short &pSize, Word &pBold, Word &pItalic, Word &
  197.         pUnderline, Word &pStrikeout, Graphics::TColor &pcrColor, Word &pOutline, Word &pShadow);
  198.     void __fastcall GetLineStyle(short &pStyle, Graphics::TColor &pcrColor, short &pWeight);
  199.     void __fastcall GetPattern(short &pPattern, Graphics::TColor &pcrFG, Graphics::TColor &pcrBG);
  200.     void __fastcall GetProtection(Word &pLocked, Word &pHidden);
  201.     void __fastcall GetTabbedText(int nR1, int nC1, int nR2, int nC2, Word bValuesOnly, int &phText);
  202.     void __fastcall SetTabbedText(int nStartRow, int nStartCol, int &pRows, int &pCols, Word bValuesOnly
  203.         , const System::WideString pText);
  204.     void __fastcall AddColPageBreak(int nCol);
  205.     void __fastcall AddPageBreak(void);
  206.     void __fastcall AddRowPageBreak(int nRow);
  207.     void __fastcall AddSelection(int nR1, int nC1, int nR2, int nC2);
  208.     void __fastcall Attach(const System::WideString pTitle);
  209.     void __fastcall AttachToSS(int hSrcSS);
  210.     void __fastcall CalculationDlg(void);
  211.     void __fastcall CancelEdit(void);
  212.     void __fastcall CheckRecalc(void);
  213.     void __fastcall ClearClipboard(void);
  214.     void __fastcall ClearRange(int nR1, int nC1, int nR2, int nC2, short ClearType);
  215.     void __fastcall ColorPaletteDlg(void);
  216.     void __fastcall ColWidthDlg(void);
  217.     void __fastcall CopyAll(int hSrcSS);
  218.     void __fastcall CopyRange(int nDstR1, int nDstC1, int nDstR2, int nDstC2, int hSrcSS, int nSrcR1, int 
  219.         nSrcC1, int nSrcR2, int nSrcC2);
  220.     void __fastcall DefinedNameDlg(void);
  221.     void __fastcall DeleteDefinedName(const System::WideString pName);
  222.     void __fastcall DeleteRange(int nR1, int nC1, int nR2, int nC2, short ShiftType);
  223.     void __fastcall Draw(int hDC, int x, int y, int cx, int cy, int nRow, int nCol, int &pRows, int &pCols
  224.         , int nFixedRow, int nFixedCol, int nFixedRows, int nFixedCols);
  225.     void __fastcall EditClear(short ClearType);
  226.     void __fastcall EditCopy(void);
  227.     void __fastcall EditCopyDown(void);
  228.     void __fastcall EditCopyRight(void);
  229.     void __fastcall EditCut(void);
  230.     void __fastcall EditDelete(short ShiftType);
  231.     void __fastcall EditInsert(short ShiftType);
  232.     void __fastcall EditPaste(void);
  233.     void __fastcall EndEdit(void);
  234.     void __fastcall FilePageSetupDlg(void);
  235.     void __fastcall FilePrint(Word bShowPrintDlg);
  236.     void __fastcall FilePrintSetupDlg(void);
  237.     void __fastcall FormatAlignmentDlg(void);
  238.     void __fastcall FormatBorderDlg(void);
  239.     void __fastcall FormatCurrency0(void);
  240.     void __fastcall FormatCurrency2(void);
  241.     void __fastcall FormatDefaultFontDlg(void);
  242.     void __fastcall FormatFixed(void);
  243.     void __fastcall FormatFixed2(void);
  244.     void __fastcall FormatFontDlg(void);
  245.     void __fastcall FormatFraction(void);
  246.     void __fastcall FormatGeneral(void);
  247.     void __fastcall FormatHmmampm(void);
  248.     void __fastcall FormatMdyy(void);
  249.     void __fastcall FormatNumberDlg(void);
  250.     void __fastcall FormatPatternDlg(void);
  251.     void __fastcall FormatPercent(void);
  252.     void __fastcall FormatScientific(void);
  253.     void __fastcall GetActiveCell(int &pRow, int &pCol);
  254.     void __fastcall GetDefaultFont(System::WideString &pBuf, short &pSize);
  255.     void __fastcall GetHdrSelection(Word &pTopLeftHdr, Word &pRowHdr, Word &pColHdr);
  256.     void __fastcall GetIteration(Word &pIteration, short &pMaxIterations, double &pMaxChange);
  257.     void __fastcall GetPrintScale(short &pScale, Word &pFitToPage, int &pVPages, int &pHPages);
  258.     void __fastcall GetSelection(short nSelection, int &pR1, int &pC1, int &pR2, int &pC2);
  259.     void __fastcall GotoDlg(void);
  260.     void __fastcall HeapMin(void);
  261.     void __fastcall InitTable(void);
  262.     void __fastcall InsertRange(int nR1, int nC1, int nR2, int nC2, short ShiftType);
  263.     void __fastcall LineStyleDlg(void);
  264.     void __fastcall MoveRange(int nR1, int nC1, int nR2, int nC2, int nRowOffset, int nColOffset);
  265.     void __fastcall ObjAddItem(int ID, const System::WideString pItem);
  266.     void __fastcall ObjAddSelection(int ID);
  267.     void __fastcall ObjBringToFront(void);
  268.     void __fastcall ObjDeleteItem(int ID, short nItem);
  269.     void __fastcall ObjGetCell(int ID, short &pControlCellType, int &pRow, int &pCol);
  270.     void __fastcall ObjGetPos(int ID, float &pX1, float &pY1, float &pX2, float &pY2);
  271.     void __fastcall ObjGetSelection(short nSelection, int &pID);
  272.     void __fastcall ObjInsertItem(int ID, short nItem, const System::WideString pItem);
  273.     void __fastcall ObjNameDlg(void);
  274.     void __fastcall ObjNew(short ObjType, float nX1, float nY1, float nX2, float nY2, int &pID);
  275.     void __fastcall ObjNewPicture(float nX1, float nY1, float nX2, float nY2, int &pID, int hMF, int nMapMode
  276.         , int nWndExtentX, int nWndExtentY);
  277.     void __fastcall ObjOptionsDlg(void);
  278.     void __fastcall ObjPosToTwips(float nX1, float nY1, float nX2, float nY2, int &pX, int &pY, int &pCX
  279.         , int &pCY, short &pShown);
  280.     void __fastcall ObjSendToBack(void);
  281.     void __fastcall ObjSetCell(int ID, short ControlCellType, int nRow, int nCol);
  282.     void __fastcall ObjSetPicture(int ID, int hMF, short nMapMode, int nWndExtentX, int nWndExtentY);
  283.     void __fastcall ObjSetPos(int ID, float nX1, float nY1, float nX2, float nY2);
  284.     void __fastcall ObjSetSelection(int ID);
  285.     void __fastcall OpenFileDlg(const System::WideString pTitle, int hWndParent, System::WideString &pBuf
  286.         );
  287.     void __fastcall ProtectionDlg(void);
  288.     void __fastcall RangeToTwips(int nRow1, int nCol1, int nRow2, int nCol2, int &pX, int &pY, int &pCX
  289.         , int &pCY, short &pShown);
  290.     void __fastcall Read(const System::WideString pPathName, short &pFileType);
  291.     void __fastcall ReadFromBlob(int hBlob, short nReservedBytes);
  292.     void __fastcall Recalc(void);
  293.     void __fastcall RemoveColPageBreak(int nCol);
  294.     void __fastcall RemovePageBreak(void);
  295.     void __fastcall RemoveRowPageBreak(int nRow);
  296.     void __fastcall RowHeightDlg(void);
  297.     void __fastcall SaveFileDlg(const System::WideString pTitle, System::WideString &pBuf, short &pFileType
  298.         );
  299.     void __fastcall SaveWindowInfo(void);
  300.     void __fastcall SetActiveCell(int nRow, int nCol);
  301.     void __fastcall SetAlignment(short HAlign, Word bWordWrap, short VAlign, short nOrientation);
  302.     void __fastcall SetBorder(short nOutline, short nLeft, short nRight, short nTop, short nBottom, short 
  303.         nShade, Graphics::TColor crOutline, Graphics::TColor crLeft, Graphics::TColor crRight, Graphics::TColor 
  304.         crTop, Graphics::TColor crBottom);
  305.     void __fastcall SetColWidth(int nC1, int nC2, short nWidth, Word bDefColWidth);
  306.     void __fastcall SetColWidthAuto(int nR1, int nC1, int nR2, int nC2, Word bSetDefaults);
  307.     void __fastcall SetDefaultFont(const System::WideString pName, short nSize);
  308.     HIDESBASE void __fastcall SetFont(const System::WideString pName, short nSize, Word bBold, Word bItalic
  309.         , Word bUnderline, Word bStrikeout, Graphics::TColor crColor, Word bOutline, Word bShadow);
  310.     void __fastcall SetHdrSelection(Word bTopLeftHdr, Word bRowHdr, Word bColHdr);
  311.     void __fastcall SetIteration(Word bIteration, short nMaxIterations, double nMaxChange);
  312.     void __fastcall SetLineStyle(short nStyle, Graphics::TColor crColor, short nWeight);
  313.     void __fastcall SetPattern(short nPattern, Graphics::TColor crFG, Graphics::TColor crBG);
  314.     void __fastcall SetPrintAreaFromSelection(void);
  315.     void __fastcall SetPrintScale(short nScale, Word bFitToPage, short nVPages, short nHPages);
  316.     void __fastcall SetPrintTitlesFromSelection(void);
  317.     void __fastcall SetProtection(Word bLocked, Word bHidden);
  318.     void __fastcall SetRowHeight(int nR1, int nR2, short nHeight, Word bDefRowHeight);
  319.     void __fastcall SetRowHeightAuto(int nR1, int nC1, int nR2, int nC2, Word bSetDefaults);
  320.     void __fastcall SetSelection(int nR1, int nC1, int nR2, int nC2);
  321.     void __fastcall ShowActiveCell(void);
  322.     void __fastcall Sort3(int nR1, int nC1, int nR2, int nC2, Word bSortByRows, int nKey1, int nKey2, int 
  323.         nKey3);
  324.     void __fastcall SortDlg(void);
  325.     void __fastcall StartEdit(Word bClear, Word bInCellEditFocus, Word bArrowsExitEditMode);
  326.     void __fastcall SwapTables(int hSS2);
  327.     void __fastcall TransactCommit(void);
  328.     void __fastcall TransactRollback(void);
  329.     void __fastcall TransactStart(void);
  330.     void __fastcall TwipsToRC(int x, int y, int &pRow, int &pCol);
  331.     void __fastcall SSUpdate(void);
  332.     short __fastcall SSVersion(void);
  333.     void __fastcall Write(const System::WideString pPathName, short FileType);
  334.     void __fastcall WriteToBlob(int &phBlob, short nReservedBytes);
  335.     void __fastcall SetRowHidden(int nRow1, int nRow2, Word bHidden);
  336.     void __fastcall SetColHidden(int nCol1, int nCol2, Word bHidden);
  337.     void __fastcall SetColWidthTwips(int nCol1, int nCol2, int nWidth, Word bDefColWidth);
  338.     void __fastcall EditInsertSheets(void);
  339.     void __fastcall EditDeleteSheets(void);
  340.     void __fastcall InsertSheets(int nSheet, int nSheets);
  341.     void __fastcall DeleteSheets(int nSheet, int nSheets);
  342.     HIDESBASE void __fastcall Refresh(void);
  343.     int __fastcall NextColPageBreak(int Col);
  344.     int __fastcall NextRowPageBreak(int Row);
  345.     int __fastcall ObjFirstID(void);
  346.     int __fastcall ObjNextID(int ID);
  347.     short __fastcall ObjGetItemCount(int ID);
  348.     short __fastcall ObjGetType(int ID);
  349.     short __fastcall ObjGetSelectionCount(void);
  350.     System::WideString __fastcall FormatRCNr(int Row, int Col, Word DoAbsolute);
  351.     int __fastcall SS(void);
  352.     System::WideString __fastcall ErrorNumberToText(int SSError);
  353.     int __fastcall ObjNameToID(const System::WideString Name);
  354.     int __fastcall DefinedNameCount(void);
  355.     void __fastcall ValidationRuleDlg(void);
  356.     void __fastcall SetValidationRule(const System::WideString Rule, const System::WideString Text);
  357.     void __fastcall GetValidationRule(System::WideString &Rule, System::WideString &Text);
  358.     short __fastcall AutoFillItemsCount(void);
  359.     void __fastcall CopyRangeEx(int nDstSheet, int nDstR1, int nDstC1, int nDstR2, int nDstC2, int hSrcSS
  360.         , int nSrcSheet, int nSrcR1, int nSrcC1, int nSrcR2, int nSrcC2);
  361.     void __fastcall Sort(int nR1, int nC1, int nR2, int nC2, Word bSortByRows, const System::OleVariant 
  362.         &Keys);
  363.     void __fastcall DeleteAutoFillItems(short nIndex);
  364.     void __fastcall ODBCConnect(System::WideString &pConnect, Word bShowErrors, short &pRetCode);
  365.     void __fastcall ODBCDisconnect(void);
  366.     void __fastcall ODBCQuery(System::WideString &pQuery, int nRow, int nCol, Word bForceShowDlg, Word 
  367.         &pSetColNames, Word &pSetColFormats, Word &pSetColWidths, Word &pSetMaxRC, short &pRetCode);
  368.     void __fastcall LaunchDesigner(void);
  369.     void __fastcall AboutBox(void);
  370.     __property _di__DVCF1 ControlInterface = {read=FIntf};
  371.     __property System::WideString ColText[int nCol] = {read=Get_ColText, write=Set_ColText};
  372.     __property System::WideString DefinedName[System::WideString pName] = {read=Get_DefinedName, write=
  373.         Set_DefinedName};
  374.     __property System::WideString EntryRC[int nRow][int nCol] = {read=Get_EntryRC, write=Set_EntryRC};
  375.     __property System::WideString FormattedTextRC[int nRow][int nCol] = {read=Get_FormattedTextRC, write=
  376.         Set_FormattedTextRC};
  377.     __property System::WideString FormulaRC[int nRow][int nCol] = {read=Get_FormulaRC, write=Set_FormulaRC
  378.         };
  379.     __property int LastColForRow[int nRow] = {read=Get_LastColForRow, write=Set_LastColForRow};
  380.     __property Word LogicalRC[int nRow][int nCol] = {read=Get_LogicalRC, write=Set_LogicalRC};
  381.     __property double NumberRC[int nRow][int nCol] = {read=Get_NumberRC, write=Set_NumberRC};
  382.     __property System::WideString RowText[int nRow] = {read=Get_RowText, write=Set_RowText};
  383.     __property System::WideString TextRC[int nRow][int nCol] = {read=Get_TextRC, write=Set_TextRC};
  384.     __property short TypeRC[int nRow][int nCol] = {read=Get_TypeRC, write=Set_TypeRC};
  385.     __property short ColWidth[int nCol] = {read=Get_ColWidth, write=Set_ColWidth};
  386.     __property short RowHeight[int nRow] = {read=Get_RowHeight, write=Set_RowHeight};
  387.     __property System::WideString DefinedNameByIndex[int nName] = {read=Get_DefinedNameByIndex, write=Set_DefinedNameByIndex
  388.         };
  389.     __property System::WideString SheetName[int nSheet] = {read=Get_SheetName, write=Set_SheetName};
  390.     __property Graphics::TColor PaletteEntry[int nEntry] = {read=Get_PaletteEntry, write=Set_PaletteEntry
  391.         };
  392.     __property short ColWidthTwips[int Col] = {read=Get_ColWidthTwips, write=Set_ColWidthTwips};
  393.     __property System::WideString ObjItem[int ID][short Item] = {read=Get_ObjItem, write=Set_ObjItem};
  394.     __property System::WideString ObjItems[int ID] = {read=Get_ObjItems, write=Set_ObjItems};
  395.     __property System::WideString ObjName[int ID] = {read=Get_ObjName, write=Set_ObjName};
  396.     __property System::WideString ObjText[int ID] = {read=Get_ObjText, write=Set_ObjText};
  397.     __property short ObjValue[int ID] = {read=Get_ObjValue, write=Set_ObjValue};
  398.     __property Word ObjVisible[int ID] = {read=Get_ObjVisible, write=Set_ObjVisible};
  399.     __property System::WideString AutoFillItems[short Index] = {read=Get_AutoFillItems, write=Set_AutoFillItems
  400.         };
  401.     __property Word ColHidden[int nCol] = {read=Get_ColHidden, write=Set_ColHidden};
  402.     __property Word RowHidden[int nRow] = {read=Get_RowHidden, write=Set_RowHidden};
  403.     __property Word SheetSelected[int nSheet] = {read=Get_SheetSelected, write=Set_SheetSelected};
  404.     
  405. __published:
  406.     __property TabStop ;
  407.     __property Align ;
  408.     __property DragCursor ;
  409.     __property DragMode ;
  410.     __property ParentShowHint ;
  411.     __property PopupMenu ;
  412.     __property ShowHint ;
  413.     __property TabOrder ;
  414.     __property Visible ;
  415.     __property OnDragDrop ;
  416.     __property OnDragOver ;
  417.     __property OnEndDrag ;
  418.     __property OnEnter ;
  419.     __property OnExit ;
  420.     __property OnStartDrag ;
  421.     __property OnMouseUp ;
  422.     __property OnMouseMove ;
  423.     __property OnMouseDown ;
  424.     __property OnKeyUp ;
  425.     __property OnKeyPress ;
  426.     __property OnKeyDown ;
  427.     __property Graphics::TColor BackColor = {read=GetTColorProp, write=SetTColorProp, stored=false, index=3
  428.         , nodefault};
  429.     __property int Col = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4, nodefault};
  430.         
  431.     __property int Row = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5, nodefault};
  432.         
  433.     __property short ShowHScrollBar = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=6
  434.         , nodefault};
  435.     __property System::WideString Text = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  436.         , index=7};
  437.     __property double Number = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=8};
  438.     __property System::WideString Formula = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  439.         , index=9};
  440.     __property int FixedCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10, nodefault
  441.         };
  442.     __property int FixedCols = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11, nodefault
  443.         };
  444.     __property int FixedRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12, nodefault
  445.         };
  446.     __property int FixedRows = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13, nodefault
  447.         };
  448.     __property Word ShowGridLines = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=14
  449.         , nodefault};
  450.     __property Word ShowRowHeading = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=15
  451.         , nodefault};
  452.     __property short ShowSelections = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=16
  453.         , nodefault};
  454.     __property int LeftCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17, nodefault
  455.         };
  456.     __property int MaxCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=18, nodefault
  457.         };
  458.     __property int MaxRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=19, nodefault
  459.         };
  460.     __property int TopRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=20, nodefault
  461.         };
  462.     __property Word AllowResize = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=21, 
  463.         nodefault};
  464.     __property Word AllowSelections = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=22
  465.         , nodefault};
  466.     __property Word AllowFormulas = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=23
  467.         , nodefault};
  468.     __property Word AllowInCellEditing = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=24
  469.         , nodefault};
  470.     __property short ShowVScrollBar = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=25
  471.         , nodefault};
  472.     __property Word AllowFillRange = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=26
  473.         , nodefault};
  474.     __property Word AllowMoveRange = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=27
  475.         , nodefault};
  476.     __property int SelStartCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=28, nodefault
  477.         };
  478.     __property int SelStartRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=29, nodefault
  479.         };
  480.     __property int SelEndCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=30, nodefault
  481.         };
  482.     __property int SelEndRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=31, nodefault
  483.         };
  484.     __property Graphics::TColor ExtraColor = {read=GetTColorProp, write=SetTColorProp, stored=false, index=32
  485.         , nodefault};
  486.     __property System::WideString FileName = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  487.         , index=33};
  488.     __property Word AutoRecalc = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=34, 
  489.         nodefault};
  490.     __property Word PrintGridLines = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=35
  491.         , nodefault};
  492.     __property Word PrintRowHeading = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=36
  493.         , nodefault};
  494.     __property Word PrintHCenter = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=37
  495.         , nodefault};
  496.     __property Word PrintVCenter = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=38
  497.         , nodefault};
  498.     __property Word PrintLeftToRight = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=39
  499.         , nodefault};
  500.     __property System::WideString PrintHeader = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  501.         , index=40};
  502.     __property System::WideString PrintFooter = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  503.         , index=41};
  504.     __property double PrintLeftMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=42
  505.         };
  506.     __property double PrintTopMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=43
  507.         };
  508.     __property double PrintRightMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=44
  509.         };
  510.     __property double PrintBottomMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=45
  511.         };
  512.     __property System::WideString PrintArea = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  513.         , index=46};
  514.     __property System::WideString PrintTitles = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  515.         , index=47};
  516.     __property Word PrintNoColor = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=48
  517.         , nodefault};
  518.     __property System::WideString Selection = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  519.         , index=49};
  520.     __property System::WideString TableName = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  521.         , index=50};
  522.     __property Word DoCancelEdit = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=51
  523.         , nodefault};
  524.     __property Word DoSelChange = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=52, 
  525.         nodefault};
  526.     __property Word DoStartEdit = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=53, 
  527.         nodefault};
  528.     __property Word DoEndEdit = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=54, nodefault
  529.         };
  530.     __property Word DoStartRecalc = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=55
  531.         , nodefault};
  532.     __property Word DoEndRecalc = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=56, 
  533.         nodefault};
  534.     __property Word DoClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=57, nodefault
  535.         };
  536.     __property Word DoDblClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=58, 
  537.         nodefault};
  538.     __property Word ShowColHeading = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=59
  539.         , nodefault};
  540.     __property Word PrintColHeading = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=60
  541.         , nodefault};
  542.     __property System::WideString Entry = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  543.         , index=61};
  544.     __property Word Repaint = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=62, nodefault
  545.         };
  546.     __property Word AllowArrows = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=63, 
  547.         nodefault};
  548.     __property Word AllowTabs = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=64, nodefault
  549.         };
  550.     __property System::WideString FormattedText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  551.         , index=65};
  552.     __property Word RowMode = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=66, nodefault
  553.         };
  554.     __property Word AllowDelete = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=67, 
  555.         nodefault};
  556.     __property Word EnableProtection = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=68
  557.         , nodefault};
  558.     __property int MinCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=69, nodefault
  559.         };
  560.     __property int MinRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=70, nodefault
  561.         };
  562.     __property Word DoTopLeftChanged = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=71
  563.         , nodefault};
  564.     __property Word AllowEditHeaders = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=72
  565.         , nodefault};
  566.     __property Word DoObjClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=73, 
  567.         nodefault};
  568.     __property Word DoObjDblClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=74
  569.         , nodefault};
  570.     __property Word AllowObjSelections = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=75
  571.         , nodefault};
  572.     __property Word DoRClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=76, nodefault
  573.         };
  574.     __property Word DoRDblClick = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=77, 
  575.         nodefault};
  576.     __property System::WideString Clip = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  577.         , index=78};
  578.     __property System::WideString ClipValues = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  579.         , index=79};
  580.     __property Word PrintLandscape = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=80
  581.         , nodefault};
  582.     __property Word Enabled = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=-514, nodefault
  583.         };
  584.     __property short BorderStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=-504
  585.         , nodefault};
  586.     __property System::WideString AppName = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  587.         , index=81};
  588.     __property short HdrHeight = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=82, 
  589.         nodefault};
  590.     __property short HdrWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=83, nodefault
  591.         };
  592.     __property System::WideString NumberFormat = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  593.         , index=84};
  594.     __property System::WideString TopLeftText = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  595.         , index=85};
  596.     __property Word EnterMovesDown = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=86
  597.         , nodefault};
  598.     __property int LastCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=87, nodefault
  599.         };
  600.     __property int LastRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=88, nodefault
  601.         };
  602.     __property Word Logical = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=89, nodefault
  603.         };
  604.     __property short Mode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=90, nodefault
  605.         };
  606.     __property short PolyEditMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=91
  607.         , nodefault};
  608.     __property short ViewScale = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=92, 
  609.         nodefault};
  610.     __property short SelectionCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=93
  611.         , nodefault};
  612.     __property System::WideString Title = {read=GetWideStringProp, write=SetWideStringProp, stored=false
  613.         , index=94};
  614.     __property short Type_ = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=95, nodefault
  615.         };
  616.     __property Word ShowFormulas = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=96
  617.         , nodefault};
  618.     __property Word ShowZeroValues = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=97
  619.         , nodefault};
  620.     __property short MousePointer = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=2
  621.         , nodefault};
  622.     __property Graphics::TPicture* MouseIcon = {read=GetTPictureProp, write=SetTPictureProp, stored=false
  623.         , index=98};
  624.     __property Word DoObjValueChanged = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=99
  625.         , nodefault};
  626.     __property Word ScrollToLastRC = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=100
  627.         , nodefault};
  628.     __property Word Modified = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=101, nodefault
  629.         };
  630.     __property Word DoObjGotFocus = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=102
  631.         , nodefault};
  632.     __property Word DoObjLostFocus = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=103
  633.         , nodefault};
  634.     __property int PrintDevMode = {read=Get_PrintDevMode, write=Set_PrintDevMode, stored=false, nodefault
  635.         };
  636.     __property int NumSheets = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=105, nodefault
  637.         };
  638.     __property int Sheet = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=106, nodefault
  639.         };
  640.     __property short ColWidthUnits = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=107
  641.         , nodefault};
  642.     __property Word ShowTypeMarkers = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=108
  643.         , nodefault};
  644.     __property short ShowTabs = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=109, 
  645.         nodefault};
  646.     __property Word ShowEditBar = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=110
  647.         , nodefault};
  648.     __property Word ShowEditBarCellRef = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=111
  649.         , nodefault};
  650.     __property Word AllowDesigner = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=1
  651.         , nodefault};
  652.     __property int hWnd = {read=Get_hWnd, write=Set_hWnd, stored=false, nodefault};
  653.     __property Word AllowAutoFill = {read=GetWordBoolProp, write=SetWordBoolProp, stored=false, index=112
  654.         , nodefault};
  655.     __property TF1BookClick OnClick = {read=FOnClick, write=FOnClick};
  656.     __property TF1BookDblClick OnDblClick = {read=FOnDblClick, write=FOnDblClick};
  657.     __property Classes::TNotifyEvent OnCancelEdit = {read=FOnCancelEdit, write=FOnCancelEdit};
  658.     __property Classes::TNotifyEvent OnSelChange = {read=FOnSelChange, write=FOnSelChange};
  659.     __property TF1BookStartEdit OnStartEdit = {read=FOnStartEdit, write=FOnStartEdit};
  660.     __property TF1BookEndEdit OnEndEdit = {read=FOnEndEdit, write=FOnEndEdit};
  661.     __property Classes::TNotifyEvent OnStartRecalc = {read=FOnStartRecalc, write=FOnStartRecalc};
  662.     __property Classes::TNotifyEvent OnEndRecalc = {read=FOnEndRecalc, write=FOnEndRecalc};
  663.     __property Classes::TNotifyEvent OnTopLeftChanged = {read=FOnTopLeftChanged, write=FOnTopLeftChanged
  664.         };
  665.     __property TF1BookObjClick OnObjClick = {read=FOnObjClick, write=FOnObjClick};
  666.     __property TF1BookObjDblClick OnObjDblClick = {read=FOnObjDblClick, write=FOnObjDblClick};
  667.     __property TF1BookRClick OnRClick = {read=FOnRClick, write=FOnRClick};
  668.     __property TF1BookRDblClick OnRDblClick = {read=FOnRDblClick, write=FOnRDblClick};
  669.     __property TF1BookObjValueChanged OnObjValueChanged = {read=FOnObjValueChanged, write=FOnObjValueChanged
  670.         };
  671.     __property Classes::TNotifyEvent OnModified = {read=FOnModified, write=FOnModified};
  672.     __property TF1BookObjGotFocus OnObjGotFocus = {read=FOnObjGotFocus, write=FOnObjGotFocus};
  673.     __property TF1BookObjLostFocus OnObjLostFocus = {read=FOnObjLostFocus, write=FOnObjLostFocus};
  674.     __property TF1BookValidationFailed OnValidationFailed = {read=FOnValidationFailed, write=FOnValidationFailed
  675.         };
  676. public:
  677.     /* TOleControl.Create */ __fastcall virtual TF1Book(Classes::TComponent* AOwner) : Olectrls::TOleControl(
  678.         AOwner) { }
  679.     /* TOleControl.Destroy */ __fastcall virtual ~TF1Book(void) { }
  680.     
  681. public:
  682.     /* TWinControl.CreateParented */ __fastcall TF1Book(HWND ParentWindow) : Olectrls::TOleControl(ParentWindow
  683.         ) { }
  684.     
  685. };
  686.  
  687. //-- var, const, procedure ---------------------------------------------------
  688. extern PACKAGE GUID LIBID_VCIF1Lib;
  689. #define F1ColWidthUnitsCharacters (Byte)(0)
  690. #define F1ColWidthUnitsTwips (Byte)(1)
  691. #define F1Default (Byte)(0)
  692. #define F1Arrow (Byte)(1)
  693. #define F1Cross (Byte)(2)
  694. #define F1IBeam (Byte)(3)
  695. #define F1Icon (Byte)(4)
  696. #define F1Size (Byte)(5)
  697. #define F1SizeNESW (Byte)(6)
  698. #define F1SizeNS (Byte)(7)
  699. #define F1SizeNWSE (Byte)(8)
  700. #define F1SizeWE (Byte)(9)
  701. #define F1UpArrow (Byte)(10)
  702. #define F1Hourglass (Byte)(11)
  703. #define F1NoDrop (Byte)(12)
  704. #define F1Custom (Byte)(13)
  705. #define F1Off (Byte)(0)
  706. #define F1On (Byte)(1)
  707. #define F1Auto (Byte)(2)
  708. #define F1TabsOff (Byte)(0)
  709. #define F1TabsBottom (Byte)(1)
  710. #define F1TabsTop (Byte)(2)
  711. #define F1ModeNormal (Byte)(0)
  712. #define F1ModeLine (Byte)(1)
  713. #define F1ModeRectangle (Byte)(2)
  714. #define F1ModeOval (Byte)(3)
  715. #define F1ModeArc (Byte)(4)
  716. #define F1ModeChart (Byte)(5)
  717. #define F1ModeField (Byte)(6)
  718. #define F1ModeButton (Byte)(7)
  719. #define F1ModePolygon (Byte)(8)
  720. #define F1ModeCheckBox (Byte)(9)
  721. #define F1ModeDropDown (Byte)(10)
  722. #define F1PolyEditModeNormal (Byte)(0)
  723. #define F1PolyEditModePoints (Byte)(1)
  724. #define F1ShiftHorizontal (Byte)(1)
  725. #define F1ShiftVertical (Byte)(2)
  726. #define F1ShiftRows (Byte)(3)
  727. #define F1ShiftCols (Byte)(4)
  728. #define F1HAlignGeneral (Byte)(1)
  729. #define F1HAlignLeft (Byte)(2)
  730. #define F1HAlignCenter (Byte)(3)
  731. #define F1HAlignRight (Byte)(4)
  732. #define F1HAlignFill (Byte)(5)
  733. #define F1HAlignJustify (Byte)(6)
  734. #define F1HAlignCenterAcrossCells (Byte)(7)
  735. #define F1VAlignTop (Byte)(1)
  736. #define F1VAlignCenter (Byte)(2)
  737. #define F1VAlignBottom (Byte)(3)
  738. #define F1ClearDlg (Byte)(0)
  739. #define F1ClearAll (Byte)(1)
  740. #define F1ClearFormats (Byte)(2)
  741. #define F1ClearValues (Byte)(3)
  742. #define F1FileFormulaOne (Byte)(1)
  743. #define F1FileExcel4 (Byte)(2)
  744. #define F1FileTabbedText (Byte)(3)
  745. #define F1FileExcel5 (Byte)(4)
  746. #define F1FileFormulaOne3 (Byte)(5)
  747. #define F1FileTabbedTextValuesOnly (Byte)(6)
  748. #define F1ObjLine (Byte)(1)
  749. #define F1ObjRectangle (Byte)(2)
  750. #define F1ObjOval (Byte)(3)
  751. #define F1ObjArc (Byte)(4)
  752. #define F1ObjChart (Byte)(5)
  753. #define F1ObjButton (Byte)(7)
  754. #define F1ObjPolygon (Byte)(8)
  755. #define F1ObjCheckBox (Byte)(9)
  756. #define F1ObjDropDown (Byte)(10)
  757. #define F1ObjPicture (Byte)(11)
  758. #define F1ErrorNone (Byte)(0)
  759. #define F1ErrorGeneral (Word)(20001)
  760. #define F1ErrorBadArgument (Word)(20002)
  761. #define F1ErrorNoMemory (Word)(20003)
  762. #define F1ErrorBadFormula (Word)(20004)
  763. #define F1ErrorBufTooShort (Word)(20005)
  764. #define F1ErrorNotFound (Word)(20006)
  765. #define F1ErrorBadRC (Word)(20007)
  766. #define F1ErrorBadHSS (Word)(20008)
  767. #define F1ErrorTooManyHSS (Word)(20009)
  768. #define F1ErrorNoTable (Word)(20010)
  769. #define F1ErrorUnableToOpenFile (Word)(20011)
  770. #define F1ErrorInvalidFile (Word)(20012)
  771. #define F1ErrorInsertShiftOffTable (Word)(20013)
  772. #define F1ErrorOnlyOneRange (Word)(20014)
  773. #define F1ErrorNothingToPaste (Word)(20015)
  774. #define F1ErrorBadNumberFormat (Word)(20016)
  775. #define F1ErrorTooManyFonts (Word)(20017)
  776. #define F1ErrorTooManySelectedRanges (Word)(20018)
  777. #define F1ErrorUnableToWriteFile (Word)(20019)
  778. #define F1ErrorNoTransaction (Word)(20020)
  779. #define F1ErrorNothingToPrint (Word)(20021)
  780. #define F1ErrorPrintMarginsDontFit (Word)(20022)
  781. #define F1ErrorCancel (Word)(20023)
  782. #define F1ErrorUnableToInitializePrinter (Word)(20024)
  783. #define F1ErrorStringTooLong (Word)(20025)
  784. #define F1ErrorFormulaTooLong (Word)(20026)
  785. #define F1ErrorUnableToOpenClipboard (Word)(20027)
  786. #define F1ErrorPasteWouldOverflowSheet (Word)(20028)
  787. #define F1ErrorLockedCellsCannotBeModified (Word)(20029)
  788. #define F1ErrorLockedDocCannotBeModified (Word)(20030)
  789. #define F1ErrorInvalidName (Word)(20031)
  790. #define F1ErrorCannotDeleteNameInUse (Word)(20032)
  791. #define F1ErrorUnableToFindName (Word)(20033)
  792. #define F1ErrorNoWindow (Word)(20034)
  793. #define F1ErrorSelection (Word)(20035)
  794. #define F1ErrorTooManyObjects (Word)(20036)
  795. #define F1ErrorInvalidObjectType (Word)(20037)
  796. #define F1ErrorObjectNotFound (Word)(20038)
  797. #define F1ErrorInvalidRequest (Word)(20039)
  798. #define F1ErrorBadValidationRule (Word)(20040)
  799. #define F1ErrorBadInputMask (Word)(20041)
  800. #define F1ErrorValidationFailed (Word)(20042)
  801. #define F1ErrorNoODBCConnection (Word)(20043)
  802. #define F1ErrorUnableToLoadODBC (Word)(20044)
  803. #define F1ErrorUnsupportedFeature (Word)(20045)
  804. #define F1ControlNoCell (Byte)(0)
  805. #define F1ControlCellValue (Byte)(1)
  806. #define F1ControlCellText (Byte)(2)
  807. extern PACKAGE GUID Class_F1Book;
  808. extern PACKAGE void __fastcall Register(void);
  809.  
  810. }    /* namespace Vcf1 */
  811. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  812. using namespace Vcf1;
  813. #endif
  814. //-- end unit ----------------------------------------------------------------
  815. #endif    // vcf1
  816.